<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="../FOREVER/libs/swiper/css/swiper.min.css">
    <style>
        .swiper-slide {
            height: 500px;
            width: 1000px;
        }
    </style>

</head>

<body>

    <div class="swiper-container">
        <div class="swiper-wrapper">
            <div class="swiper-slide" style="background-color: red;">Slide 1</div>
            <div class="swiper-slide" style="background-color: rgb(29, 124, 58);">Slide 2</div>
            <div class="swiper-slide" style="background-color: rgb(116, 89, 89);">Slide 3</div>
        </div>
        <div class="swiper-scrollbar"></div>
    </div>
    <script src="../FOREVER/libs/swiper/js/swiper.min.js"></script>

    <script>
        var mySwiper = new Swiper('.swiper-container', {
            autoplay: true, //可选选项，自动滑动
            scrollbar: {
                el: '.swiper-scrollbar',
            },
        })
    </script>
</body>

</html>